﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="VerifyStaffs.ascx.cs" Inherits="VerifyStaffs" %>
<table>
    <tr>
        <td>
            <asp:Label ID="Label_Title" runat="server"></asp:Label>
            ---成员审核<br />
            <br />
            <asp:GridView ID="GridView_DptStaffs" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                DataSourceID="ObjectDataSource_Staff" OnDataBound="GridView_DptStaffs_DataBound"
                OnRowDataBound="GridView_DptStaffs_RowDataBound" OnRowUpdating="GridView_DptStaffs_RowUpdating">
                <Columns>
                    <asp:BoundField DataField="SerialNumber" HeaderText="考核编号" ReadOnly="True" />
                    <asp:BoundField DataField="Name" HeaderText="姓名" ReadOnly="True" />
                    <asp:BoundField DataField="SelfScore" HeaderText="自评分" ReadOnly="True" />
                    <asp:BoundField DataField="ScoreByLeader" HeaderText="主管评分" />
                    <asp:BoundField DataField="Evaluator" HeaderText="主管" ReadOnly="True" />
                    <asp:CommandField ShowEditButton="True" />
                </Columns>
                <FooterStyle CssClass="FooterStyle" />
                <RowStyle CssClass="RowStyle" />
                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                <PagerStyle CssClass="PagerStyle" />
                <SelectedRowStyle CssClass="SelectedRowStyle" />
                <HeaderStyle CssClass="HeaderStyle" />
                <EditRowStyle CssClass="EditRowStyle" />
                <AlternatingRowStyle CssClass="AltRowStyle" />
            </asp:GridView>
            <br />
            <asp:ObjectDataSource ID="ObjectDataSource_Staff" runat="server" DataObjectTypeName="StaffDetail"
                MaximumRowsParameterName="" OnInserting="ObjectDataSource_Webservice_Inserting"
                OnUpdating="ObjectDataSource_Webservice_Updating" SelectMethod="GetStaffsByVerifier"
                StartRowIndexParameterName="" TypeName="StaffDB" UpdateMethod="UpdateLeaderScoreBySN">
                <SelectParameters>
                    <asp:Parameter Name="Verifier" />
                </SelectParameters>
            </asp:ObjectDataSource>
            &nbsp;
        </td>
    </tr>
</table>
